package co.sanduche.teach.service;

public class Task {

	private long id;

	private String type;

	private long state;

	private long entityId;

	public long getId() {
		return id;
	}

	public Task(long id, String type, long state, long entityId) {
		super();
		this.id = id;
		this.type = type;
		this.state = state;
		this.entityId = entityId;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public long getState() {
		return state;
	}

	public void setState(long state) {
		this.state = state;
	}

	public long getEntityId() {
		return entityId;
	}

	public void setEntityId(long entityId) {
		this.entityId = entityId;
	}

	public String toString() {
		return "Tarea: " + id + " " + type + ". Entity id:" + id;
	}

}
